package com.ruoyi.whzj.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分明细  历史记录对象 wh_integral_history
 * 
 * @author ruoyi
 * @date 2020-10-19
 */
public class WhIntegralHistory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 积分明细id */
    private String id;

    /** 用户id */
    @Excel(name = "用户id")
    private String userId;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;


    /** 产生的积分 */
    @Excel(name = "产生的积分")
    private Integer integral;

    /** 操作 1完成任务-双击互动 2完成任务-评论互动 3完成任务-关注互动  4互粉-提交双击互动 5互粉-提交评论互动 6互粉-提交关注互动 7提交播放量 */
    @Excel(name = "操作 1完成任务-双击互动 2完成任务-评论互动 3完成任务-关注互动  4互粉-提交双击互动 5互粉-提交评论互动 6互粉-提交关注互动 7提交播放量")
    private String operat;

    private String eventId;

    private String operatValue;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setIntegral(Integer integral) 
    {
        this.integral = integral;
    }

    public Integer getIntegral() 
    {
        return integral;
    }
    public void setOperat(String operat) 
    {
        this.operat = operat;
    }

    public String getOperat() 
    {
        return operat;
    }

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("userId", getUserId())
            .append("integral", getIntegral())
            .append("operat", getOperat())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getOperatValue() {
        return operatValue;
    }

    public void setOperatValue(String operatValue) {
        this.operatValue = operatValue;
    }
}
